package com.jeecg.p3.system.poster.dao;

import com.jeecg.p3.system.poster.entity.BlackPerson;
import org.jeecgframework.p3.core.utils.common.PageQuery;
import org.jeecgframework.p3.core.utils.common.PageQueryWrapper;
import org.jeecgframework.p3.core.utils.persistence.GenericDao;

import java.util.List;

public interface BlackPersonDao extends GenericDao<BlackPerson> {
    public Integer count(PageQuery<BlackPerson> pageQuery);

    /**
     * 分页查询列表
     * @param wrapper
     * @return
     */
    public List<BlackPerson> queryPageList(PageQueryWrapper<BlackPerson> wrapper);

    /**
     * 根据传入实体类的参数获取白名单列表
     * @param blackPerson
     * @return
     */
    public List<BlackPerson> findByParam(BlackPerson blackPerson);
}
